﻿<%@ Page Language="C#" MasterPageFile="~/NewDesign.master" AutoEventWireup="true"
    CodeFile="SearchTest.aspx.cs" Inherits="SearchTest" Title="Untitled Page" %>

<%@ Register Src="~/includes/EnhancedFeaturedDoc.ascx" TagName="EnhancedFeaturedDoc"
    TagPrefix="uc4" %>
<%@ Register Assembly="Manager" Namespace="PagingControl" TagPrefix="cc1" %>
<%@ Register Src="~/includes/PremiumFeaturedDoc.ascx" TagName="PremiumFeaturedDoc"
    TagPrefix="uc3" %>
<%@ Register Src="~/includes/showRate.ascx" TagName="showRate" TagPrefix="uc2" %>
<%@ Register Src="~/includes/DoctorMenu.ascx" TagName="DoctorMenu" TagPrefix="uc1" %>
<%@ MasterType VirtualPath="~/NewDesign.master" %>


<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" runat="Server">

 <script src="Js/jquery-1.7.1.min.js" type="text/javascript"></script>
 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
 
<script type="text/javascript">
$(document).ready(function(){

    $("#new_button").click(function(){
      window.location=$(this).find("a").attr("href"); return false;
    });

});
</script>
    <div class="heading_inner">
        <table>
            <tr>
                <td>
                    <div class="heading_topic" style="float: left;">
                        <h2>
                            Doctor Search Page</h2>
                    </div>
                </td>
                <td>
                    <div class="profile_nav" style="float: right; width: 510px; margin-top: 75px;">
                        <ul style="width: 500px;">
                            <a href="#">
                                <li>
                                    <img src="images/search_p.png" width="10" height="10" alt="" />&nbsp;Start New Search</li></a>
                            <a href="#">
                                <li>
                                    <img src="images/add_p.png" width="10" height="10" alt="" />&nbsp;Add To MyDoctors</li></a>
                            <a href="#">
                                <li>
                                    <img src="images/board_p.png" width="10" height="10" alt="" />&nbsp;My Message Board</li></a>
                            <a href="#">
                                <li>
                                    <img src="images/mail_p.png" width="10" height="10" alt="" />&nbsp;Send Mail</li></a>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="cl">
    </div>
    <!---/ Left wrapper -->
    <div class="cl">
    </div>
    <div class="prf_main">
    
        <div style="float: left;">
            <table cellpadding="0" cellspacing="0" style="" border="0">
                <tr>
                    <td>
                  
                       
                           <asp:GridView ID="StandardFeaDoc" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                                BorderWidth="0px" CellPadding="1" DataKeyNames="rating" ShowFooter="false" GridLines="None"
                                AllowPaging="False" Caption="" Style="margin-right: 0px" Width="650px">
                                <Columns>
                                    <asp:TemplateField HeaderText="">
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle VerticalAlign="Top" Width="650px" />
                                        <ItemTemplate>
                                         <div class="doc_sts" style="background-color: #FFC;">
                                            <table style="width: 650px">
                                                <tr>
                                                    <td style="vertical-align: top; width: 100px">
                                                        <%#getPhoto(Eval("photo"),Eval("gender")) %>
                                                    </td>
                                                    <td style="width: 580px">
                                                        <table style="width:540px">
                                                            <tr>
                                                                <td style="width: 250px">
                                                                  
                                                                    <p style="float: left;">
                                                                        <span class="name_font">
                                                                            <%# Eval("docname") %></span> <span class="categ">
                                                                                <%#Eval("speciality")%>,</span> <span class="ref_link"><a href="#">
                                                                                    <%#Eval("website")%></a></span>
                                                                    </p>
                                                                    
                                                                </td>
                                                                <td style="width: 10px" align="right">
                                                                    <img src="images/rating.png" width="23" height="23" alt="">
                                                                </td>
                                                                <td style="width: 30px" align="right">
                                                                    <div class="new_button" >
                                                                        <a href='<%=Session["strHttp"]%>doctor/DoctorsDetails.aspx?id=<%# Eval("id") %>'>ViewProfile</a>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2">
                                                                    <div class="doc_add">
                                                                        <p>
                                                                            <%#Eval("address")%>
                                                                        </p>
                                                                        <p> Phone :<%#Eval("Phone")%></p>
                                                                        <p>
                                                                            Fax :<%#Eval("Fax")%></p>
                                                                       
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        
                                                        <table width="665" border="0" cellspacing="0" cellpadding="2">
                                                            <tr bgcolor="#d5e3f7">
                                                                <td>
                                                                    13 Years of Practice
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    Hospital Affiliation:
                                                                </td>
                                                            </tr>
                                                            <tr bgcolor="#d5e3f7">
                                                                <td>
                                                                    2 Office Locations
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                   <p>
                                                                <asp:HyperLink ID="HyperLink1" Text="Google Maps™ View" runat="server" Target="_blank"
                                                                    NavigateUrl='https://maps.google.com/maps?q=<%# Eval("address") %>' />
                                                              </p>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                       </td>
                                                </tr>
                                            </table>
                                            </div>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                               
                            </asp:GridView>
                        
                    </td>
                </tr>
                <tr id="trPremium" runat="server">
                    <td>
                        <div class="doc_sts">
                            <asp:GridView ID="grdPremium" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                                BorderWidth="0px" CellPadding="5" DataKeyNames="rating" ShowFooter="True" Width="100%"
                                GridLines="None" AllowPaging="false" Caption="">
                                <FooterStyle HorizontalAlign="Left" />
                                <Columns>
                                    <asp:TemplateField HeaderText="Name">
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle Width="220px" VerticalAlign="Top" />
                                        <ItemTemplate>
                                            <table border="0" cellpadding="0" cellspacing="0" width="20%">
                                                <tr>
                                                    <td nowrap>
                                                        <div class="doc_details" style="width: 200px;">
                                                            <p style="float: left;">
                                                                &nbsp;
                                                                <%if (frompage.ToString() == "RateDoctors")
                                                                  {%>
                                                                <a class="link-result" href='<%=Session["strHttp"]%>doctor/RateDoctors.aspx?id=<%# Eval("Id") %>'
                                                                    title="Show Details"><b><u>
                                                                        <%# Eval("docname") %></u> </b></a>
                                                                <%}
                                                                  else
                                                                  { %>
                                                                <a class="link-result" href='<%=Session["strHttp"]%>doctors/<%#obj.URLFormat(Eval("specialityName"),Eval("state"),Eval("city"), true)%>/<%# Eval("Id") %>-<%# Eval("docname") %>.aspx'
                                                                    title="Show Details"><b><u>
                                                                        <%# Eval("docname") %></u> </b></a>
                                                                <%} %>
                                                            </p>
                                                        </div>
                                                        <div class="doc_add">
                                                            <p>
                                                                880. W. Central Rd. Suite 3100</p>
                                                            <p>
                                                                Arlington Heights, IL 60005</p>
                                                            <p>
                                                                Phone :847-398-1660</p>
                                                            <p>
                                                                Fax :847-398-1784</p>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Address">
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle Width="220px" VerticalAlign="Middle" />
                                        <ItemTemplate>
                                            <%#Eval("address")%>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <RowStyle HorizontalAlign="Left" />
                                <PagerStyle BorderStyle="None" HorizontalAlign="Right" VerticalAlign="Top" />
                                <HeaderStyle BackColor="Lavender" />
                            </asp:GridView>
                        </div>
                    </td>
                </tr>
                <tr id="trEnhance" runat="server">
                    <td>
                        <asp:GridView ID="grdEnhanced" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                            BorderWidth="0px" CellPadding="5" DataKeyNames="rating" ShowFooter="True" Width="100%"
                            GridLines="None" AllowPaging="False" Caption="" BackColor="#C0C0FF">
                            <FooterStyle HorizontalAlign="Left" />
                            <Columns>
                                <asp:TemplateField HeaderText="Name">
                                    <HeaderStyle HorizontalAlign="Left" />
                                    <ItemStyle Width="220px" VerticalAlign="Top" />
                                    <ItemTemplate>
                                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                            <tr>
                                                <td width="20%">
                                                    <%#getPhoto(Eval("photo"),Eval("gender")) %>
                                                </td>
                                                <td nowrap>
                                                    &nbsp; <a class="link-result" href='<%=Session["strHttp"]%>doctors/<%#obj.URLFormat(Eval("specialityName"),Eval("state"),Eval("city"), true)%>/<%# Eval("Id") %>-<%# Eval("docname") %>.aspx'
                                                        title="Show Details"><b><u>
                                                            <%# Eval("docname") %></u> </b></a>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Address">
                                    <HeaderStyle HorizontalAlign="Left" />
                                    <ItemStyle Width="220px" VerticalAlign="Middle" />
                                    <ItemTemplate>
                                        <%#Eval("address")%>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <RowStyle HorizontalAlign="Left" />
                            <PagerStyle BorderStyle="None" HorizontalAlign="Right" VerticalAlign="Top" />
                            <HeaderStyle BackColor="Lavender" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td>
                        
                            <asp:GridView ID="grdSearch" runat="server" AutoGenerateColumns="False" BorderStyle="None"
                                BorderWidth="0px" CellPadding="1" DataKeyNames="rating" ShowFooter="false" GridLines="None"
                                AllowPaging="False" Caption="" Style="margin-right: 1px" Width="670px">
                                <Columns>
                                    <asp:TemplateField HeaderText="">
                                        <HeaderStyle HorizontalAlign="Left" />
                                        <ItemStyle Width="670px" VerticalAlign="Top" />
                                        <ItemTemplate>
                                        <div class="doc_sts">
                                            <table style="width: 660px">
                                                <tr>
                                                    <td style="width: 630px">
                                                       
                                                        <p style="float: left;">
                                                            <span class="name_font">
                                                                <%# Eval("docname") %></span> <span class="categ">Plastic Surgery,</span> <span class="ref_link">
                                                                    <a href="#">www.bodysculptor.com</a></span>
                                                        </p>
                                                       
                                                    </td>
                                                    <td style="width: 10px" align="right">
                                                        <img src="images/rating.png" width="23" height="23" alt="">
                                                    </td>
                                                    <td style="width: 20px" align="right">
                                                        <div class="new_button">
                                                            <a href="#">BookNow</a>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">
                                                        <div class="doc_add">
                                                              <p>
                                                                 <%#Eval("address")%>
                                                               </p>
                                                              <p> Phone :<%#Eval("Phone")%></p>
                                                               <p> Fax :<%#Eval("Fax")%></p>
                                                                      
                                                            <p>
                                                                <asp:HyperLink ID="HyperLink1" Text="Google Maps™ View" runat="server" Target="_blank"
                                                                    NavigateUrl='https://maps.google.com/maps?q=<%# Eval("address") %>' />
                                                              </p>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                            </div>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                 
                                </Columns>
                                <RowStyle HorizontalAlign="Left" />
                                <PagerStyle BorderStyle="None" HorizontalAlign="Right" VerticalAlign="Top" />
                                <HeaderStyle BackColor="Lavender" />
                            </asp:GridView>
                        
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        <asp:Literal ID="Normal" runat="server"></asp:Literal>
                    </td>
                </tr>
            </table>
        </div>
      
        <div class="doc_table">
        
            <div class="hospital_right">
              <%--  <div style="min-height: 425px; width: 255px; margin-bottom: 10px; border-top: 1px solid #cdcdcd;
                    border-radius: 10px;" class="doc_rsrc_acc">
                    <div class="heading_topic" style="margin: 10px 10px 10px 25px;">
                        <h2>
                            Feel Free To Contact</h2>
                    </div>
                    <table width="300" border="0" class="table_info" style="margin: 10px;">
                        <tbody>
                            <tr>
                                <td width="241">
                                    Customer Name
                                </td>
                            </tr>
                            <tr>
                                <td width="249" style="height: 30px">
                                    <form method="post" action="">
                                    <div>
                                        <input type="text" />
                                    </div>
                                    </form>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    E-mail
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 23px">
                                    <%-- <form method="post" action="">
                                    <div>
                                        <input type="text" />
                                    </div>
                                    </form>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Mobile
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <form method="post" action="">
                                    <div>
                                        <input type="text" />
                                    </div>
                                    </form>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Specialization
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    
                                    <div style="width: 210px;">
                                        <select style="opacity: 0;" class="select" title="Select one">
                                            <option selected="selected"></option>
                                            <option>Blue</option>
                                            <option>Red</option>
                                            <option>Green</option>
                                            <option>Yellow</option>
                                            <option>Brown</option>
                                        </select>
                                        <span class="select" style="width: 215px;">Select one</span>
                                    </div>
                                   
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Message Box
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <form method="post" action="">
                                    <div>
                                        <textarea style="width: 215px; min-height: 70px;"></textarea>
                                    </div>
                                    </form>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="grey_button">
                                        <a href="#">SUBMIT</a></div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>--%>
                  
                <label for="Service_Name" id="lbl">
                    Top Doctors</label>
                    <div class="cl">&nbsp;</div>
                    
                 <div class="rankings" >
                    <ul class="ranking-list" >
                        <asp:Repeater ID="TopDocRepeater" runat="server">
                            <ItemTemplate>
                            
                                <li  ><a  href='<%=Session["strHttp"]%>doctor/DoctorsDetails.aspx?id=<%# Eval("id") %>'>
                                    Dr.<%# Eval("Name")%>
                                </a>
                                    <br />
                                    <p class="location">
                                        <%# Eval("Country")%></p>
                                </li>
                               
                            </ItemTemplate>
                        </asp:Repeater>
                      
                        </ul>
                  
                    </div>
                  
                <table width="473" border="0" id="mytbl" cellpadding="4" style="float: left;" class="featured_table">
                    <tbody>
                        <tr>
                            <td width="467">
                                <label for="Service_Name" id="lbl">
                                    Other Featured Doctors:</label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h3>
                                    <a href="#">
                                        <%=FeaturedDoctor_category_string %></a></h3>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <h3>
                                    <a href="#">Internal Medicine</a></h3>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <br>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <label for="Service_Name" id="lbl">
                    Top International Hospitals &amp; Practices</label>
                <div class="rankings">
                    <ul class="ranking-list">
                        <asp:Repeater ID="Top_Hospital_Repeater" runat="server">
                            <ItemTemplate>
                                <li><a href="<%=Session["strHttp"]%>hospital.aspx?t=int&id=<%# Eval("ID")%>">
                                    <%# Eval("Hospital_Name")%></a>
                                    <p class="location">
                                        <%# Eval("Country")%></p>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </div>
          
       </div>
       </td>
       
    </div>
    
    <div class="banner-bottom">
        <img src="images/banner.jpg" alt="" /></div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="InnerRight" runat="Server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedBox" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="FeatureDocBox" runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ScriptContent" runat="Server">
</asp:Content>
